//
//  BFNavigationController.m
//  beifang
//
//  Created by Apple on 17/4/12.
//  Copyright © 2017年 郭凯. All rights reserved.
//

#import "BFNavigationController.h"

@interface BFNavigationController ()

@end

@implementation BFNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
}


-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if (self.viewControllers.count>0) {
            viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:animated];
}

@end
